﻿@model FilStartUps_Mobile.Models.ForumThread

@{
    ViewBag.Title = "NewThread";
}

<h2>NewThread</h2>

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>

        <div class="editor-label">
            @Html.LabelFor(model => model.threadtitle)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.threadtitle)
            @Html.ValidationMessageFor(model => model.threadtitle)
        </div>

        <div class="editor-label">
            Forum Message
        </div>
        <div class="editor-field">
            <textarea rows="5" cols="20" id="forummessage" name="forummessage"></textarea>
        </div>
    

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}
